PROJECT(CONEX-Util)

#add the files to our groups and app
SOURCE_GROUP("util" ./util/*)
#seems to be a bug in cmake, can't put these in analysis\\standard folder :(
#upper detail

SET(CONEX-Util_Files
	#for example 
	#./control/ControlSynset.cpp	
	./util/IidTimestamp.cc	
	./util/SdfEncoder.cc
)


#find our headers
file(GLOB_RECURSE HEADERS ${CONEX-Util_SOURCE_DIR}/*.h)


#create the libraries
#INCLUDE_DIRECTORIES( ${CONEX_SOURCE_DIR}/src/app 
#                     ${CONEX_SOURCE_DIR}/src/model
#					 ${CONEX_SOURCE_DIR}/src/control
#					 ${CONEX_SOURCE_DIR}/src/dal)

#add_executable(CONEX-App
#	${CONEX-App_Files} ${HEADERS}
#)

add_library(CONEX-Util
    STATIC
	 ${CONEX-Util_Files} ${HEADERS}
	)

#set properties on the libraries
SET_TARGET_PROPERTIES(CONEX-Util PROPERTIES
    VERSION ${CONEX_VERSION}
    SOVERSION ${CONEX_SOVERSION}
    COMPILE_DEFINITIONS_DEBUG _DEBUG
)

#SET_TARGET_PROPERTIES( CONEX-Model PROPERTIES COMPILE_FLAGS "${CONEX-Model_SOURCE_DIR}/dal/otlv4.h" )
#SET_TARGET_PROPERTIES( CONEX-Model PROPERTIES LINK_FLAGS "odbc32.lib" )



